import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import {h} from 'vue';
import {Switch} from 'ant-design-vue';

export const columns: BasicColumn[] = [
        {
            title: 公众号Id,
            dataIndex: weChatId,
            width: 200,
        },
        {
            title: ,
            dataIndex: entranceType,
            width: 200,
        },
        {
            title: 支付渠道code,
            dataIndex: payparamCode,
            width: 200,
        },
        {
            title: 易宝支付参数Id,
            dataIndex: payparamId,
            width: 200,
        },
        {
            title: 排序,
            dataIndex: payparamSort,
            width: 200,
        },
        {
            title: 备注,
            dataIndex: remark,
            width: 200,
        },
        {
            title: 是否删除,
            dataIndex: deleted,
            width: 200,
        },
        {
            title: 更新人,
            dataIndex: updateUser,
            width: 200,
        },
        {
            title: 更新时间,
            dataIndex: updateTime,
            width: 200,
        },
        {
            title: 创建人,
            dataIndex: createUser,
            width: 200,
        },
        {
            title: 创建时间,
            dataIndex: createTime,
            width: 200,
        },
];

export const searchFormSchema: FormSchema[] = [
];

export const formSchema: FormSchema[] = [
        {
            label: 公众号Id,
            field: weChatId,
            width: 200,
            required: true
        },
        {
            label: ,
            field: entranceType,
            width: 200,
            required: true
        },
        {
            label: 支付渠道code,
            field: payparamCode,
            width: 200,
            required: true
        },
        {
            label: 易宝支付参数Id,
            field: payparamId,
            width: 200,
            required: true
        },
        {
            label: 排序,
            field: payparamSort,
            width: 200,
            required: true
        },
        {
            label: 备注,
            field: remark,
            width: 200,
            required: true
        },
        {
            label: 是否删除,
            field: deleted,
            width: 200,
            required: true
        },
        {
            label: 更新人,
            field: updateUser,
            width: 200,
            required: true
        },
        {
            label: 更新时间,
            field: updateTime,
            width: 200,
            required: true
        },
        {
            label: 创建人,
            field: createUser,
            width: 200,
            required: true
        },
        {
            label: 创建时间,
            field: createTime,
            width: 200,
            required: true
        },
];
